// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'

import ElementUI from 'element-ui'
import 'normalize.css/normalize.css' // CSS重置第三方替代方案
import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/index.scss' // 全局 css
import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n
import formCreate, { maker } from '@form-create/element-ui'
import '@/icons/index' // icon 引入svg使用
Vue.config.productionTip = false

Vue.use(ElementUI, { locale })
    // 如果想要中文版 element-ui，按如下方式声明
    // Vue.use(ElementUI)
Vue.use(formCreate)


new Vue({
    el: '#app',
    router,
    store,
    render: h => h(App)
})